package cn.shengchao.examstar.rpc.knowledge.api;


import cn.shengchao.examstar.rpc.base.PageResult;
import cn.shengchao.examstar.rpc.knowledge.req.KnowledgeReq;
import cn.shengchao.examstar.rpc.knowledge.resp.KnowledgePointDto;
import cn.shengchao.examstar.rpc.knowledge.resp.KnowledgePointTag;

import java.util.List;

public interface IKnowledgeRpc {


    /**
     * 获取知识点绑定标签
     */
    List<KnowledgePointTag> getKnowledgePointTagList(Long id);

    /**
     * 标签绑定知识点
     */
    void bindKnowledgePointTag(Long id, List<KnowledgePointTag> knowledgePointTags);

    /**
     * 获取知识点
     */
    PageResult<KnowledgePointDto> getKnowledgePointList(KnowledgeReq knowledgeReq);
}
